// 自动生成模板Exercises
package exercise

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// exercise表 结构体  Exercises
type Exercises struct {
	global.GVA_MODEL
	Created     *time.Time `json:"created" form:"created" gorm:"column:created;comment:;"`                     //created字段
	Interviewid *int       `json:"interviewid" form:"interviewid" gorm:"column:interviewid;comment:;size:10;"` //interviewid字段
	Isok        *int       `json:"isok" form:"isok" gorm:"column:isok;comment:;size:10;"`                      //isok字段
	Level       *int       `json:"level" form:"level" gorm:"column:level;comment:;size:10;"`                   //level字段
	LevelId1    *int       `json:"levelId1" form:"levelId1" gorm:"column:level_id1;comment:;size:10;"`         //levelId1字段
	LevelId2    *int       `json:"levelId2" form:"levelId2" gorm:"column:level_id2;comment:;size:10;"`         //levelId2字段
	LevelId3    *int       `json:"levelId3" form:"levelId3" gorm:"column:level_id3;comment:;size:10;"`         //levelId3字段
	Userid      *int       `json:"userid" form:"userid" gorm:"column:userid;comment:;size:10;"`                //userid字段
}
type Exercises2 struct {
	Interviewid     uint   `json:"interviewid"`    //interviewid字段
	InterviewTitles string `json:"InterviewTitle"` //interviewid字段
	Answer          string `json:"answer"`
	Isok            int    `json:"isok"` //isok字段
	UserID          int    `json:"userid"`
	Level1          string `json:"level1"` //levelId1字段
	Level2          string `json:"level2"` //levelId2字段
	Level3          string `json:"level3"` //levelId3字段
}

// TableName exercise表 Exercises自定义表名 exercise
func (Exercises) TableName() string {
	return "exercise"
}
